home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr02
/
npro301d.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-07-01
|
2KB
|
100 lines
echo off
if exist \nprodos\npro.exe goto fixit1
if exist c:\nprodos\npro.exe goto fixit2
:cont
if "%1" == "" goto def
if "%1" == "go" goto go
if exist NPRO.EXE goto xinst
:fixit1
cd \nprodos
goto fixit
:fixit2
c:
cd \nprodos
:fixit
attrib -r -h -s *.*
goto cont
:def
echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
echo :
echo : You must be "logged" onto the Negotiator Pro disk
echo : and specify which drive to install onto.
echo : For example, to install Negotiator Pro into drive C:
echo : from drive A: Type:
echo :
echo : A: [RETURN]
echo :
echo : then
echo :
echo : INSTALL C: [RETURN]
echo :
echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
echo :
goto end
:xinst
if "%1" == "a:" goto app
if "%1" == "A:" goto app
if "%1" == "b:" goto app
if "%1" == "B:" goto app
if "%1" == "c:" goto app
if "%1" == "C:" goto app
if "%1" == "d:" goto app
if "%1" == "D:" goto app
if "%1" == "e:" goto app
if "%1" == "E:" goto app
if "%1" == "f:" goto app
if "%1" == "F:" goto app
if "%1" == "g:" goto app
if "%1" == "G:" goto app
if "%1" == "h:" goto app
if "%1" == "H:" goto app
if "%1" == "i:" goto app
if "%1" == "I:" goto app
if "%1" == "J:" goto app
if "%1" == "j:" goto app
goto def
:app
echo Installing Negotiator Pro into %1\NPRODOS
md %1\NPRODOS >nul
copy *.* %1\NPRODOS >nul
%1
cd \nproDOS
IF NOT EXIST BLANK.DAT GOTO BAD
IF NOT EXIST NPRO.EXP GOTO BAD
ATTRIB +H BLANK.DAT > nul
attrib +h npro.exp > nul
if not exist NPRO.EXE GOTO BAD
IF NOT EXIST NPRO.HLP GOTO BAD
IF NOT EXIST NPRO.CNF GOTO BAD
cls
echo : Negotiator Pro is Now Installed onto %1\NPRODOS
echo :
echo :
pause
GOTO END
:BAD
echo : ERROR INSTALLING NEGOTIATOR PRO!
echo : TRY DELETING SOME FILES TO FREE UP
echo : MORE DISK SPACE, THEN TRY AGAIN.
GOTO END
:go
NPRO
:end